package com.cooksys.film_rental.model.forms;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * Backing object for the advanced search form
 * 
 * @author Peter Zastoupil
 * 
 */
public class AdvancedFilmSearchForm {

	@NotEmpty
	@Size(max = 255)
	String searchString;
	
	String categoryId;

	String actorId;

	String languageId;

	String originalLanguageId;

	String rating;

	String runtime;

	public String getSearchString() {
		return searchString;
	}

	public void setSearchString(String searchString) {
		this.searchString = searchString;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getActorId() {
		return actorId;
	}

	public void setActorId(String actorId) {
		this.actorId = actorId;
	}

	public String getLanguageId() {
		return languageId;
	}

	public void setLanguageId(String languageId) {
		this.languageId = languageId;
	}

	public String getOriginalLanguageId() {
		return originalLanguageId;
	}

	public void setOriginalLanguageId(String originalLanguageId) {
		this.originalLanguageId = originalLanguageId;
	}

	public String getRating() {
		return rating;
	}

	public void setRating(String rating) {
		this.rating = rating;
	}

	public String getRuntime() {
		return runtime;
	}

	public void setRuntime(String runtime) {
		this.runtime = runtime;
	}

}
